package com.AI;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.TextView;

public class ARAI_Web extends Activity {
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.layout_web);
		WebView web = (WebView)findViewById(R.id.browser);
		
		MyWebViewClient client = new MyWebViewClient();
		web.setWebViewClient(client);
		web.loadUrl("http://en.m.wikipedia.org");
		
		
	}

    private class MyWebViewClient extends WebViewClient{
        @Override
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            
            return true;
        }
    }
}
